package com.weiyuanstudio.nextstep.persistence.repository;

import com.weiyuanstudio.nextstep.persistence.entity.Book;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface BookRepository extends JpaRepository<Book, Long> {
    @Override
    List<Book> findAll();

    @Override
    Book save(Book book);
}
